<?php

declare(strict_types=1);

namespace DbModels;

/**
 * @property int $id
 * @property string $label
 * @property string $name
 * @property string $value
 * @property int $type
 * @property string $desc
 * @property \Carbon\Carbon $created_at
 * @property \Carbon\Carbon $updated_at
 */
class Config extends \App\Abstract\Model
{
    /**
     * The table associated with the model.
     */
    protected ?string $table = 'configs';

    /**
     * The attributes that are mass assignable.
     */
    protected array $fillable = ['id', 'label', 'name', 'value', 'type', 'desc', 'created_at', 'updated_at'];

    /**
     * The attributes that should be cast to native types.
     */
    protected array $casts = ['id' => 'int', 'created_at' => 'datetime', 'updated_at' => 'datetime', 'type' => 'integer'];
}
